package com.qf.sy2103.fmmall.mapper;


import com.qf.sy2103.fmmall.beans.entity.Product;
import com.qf.sy2103.fmmall.beans.vo.ProductVo;
import com.qf.sy2103.fmmall.general.GeneralDAO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper extends GeneralDAO<Product> {

    List<ProductVo> selectRecommendProducts();

    List<ProductVo> findProductByCategoryId(@Param("cid") int cid );

}
